package DBLayer;

import java.util.ArrayList;

import ModelLayer.*;

public interface IFDBCustomer {
	 // get all customers
    public ArrayList<Customer> getAllCustomers(boolean retriveAssociation);
    //get one customer having the customerID
    public Customer findCustomer(int customerId);
    // find costumer with phonenumber
    public Customer findCustomerWithPhoneNumber(String phoneNumber);
    //find one customer having the name
    public Customer searchCustomerName( String name);
    public Customer searchCustomerId( String name);
    //insert a new customer
    public int insertCustomer(Customer cus) throws Exception;
    //update information about an customer
    public int updateCustomer(Customer cus);
    public int deleteCustomer(int customerID);

}
